package com.yishan.domain;

import java.util.Date;

/**
 * 员工实体类
 *
 * @Author yishan
 * @Date 2021/4/1 0001 13:00
 * @Version 1.0
 */
public class User {

	private String id;              //编号
	private String email;           //邮箱
	private String zd_num;          //员工工号
	private String name;            //员工姓名
	private String zd_pwd;          //登录密码
	private Integer age;            //员工年龄
	private String gender;          //员工性别
	private String tel;            //员工电话
	private String dept_id;         //部门id

	private Dept dept;              //员工所属部门


	@Override
	public String toString() {
		return "User{" +
				"id='" + id + '\'' +
				", email='" + email + '\'' +
				", zd_num='" + zd_num + '\'' +
				", name='" + name + '\'' +
				", zd_pwd='" + zd_pwd + '\'' +
				", age=" + age +
				", gender='" + gender + '\'' +
				", tel='" + tel + '\'' +
				", dept_id='" + dept_id + '\'' +
				", dept=" + dept +
				'}';
	}

	public User() {
	}

	public User(String id, String email, String zd_num, String name, String zd_pwd, Integer age, String gender, String tel, String dept_id,
			Dept dept) {
		this.id = id;
		this.email = email;
		this.zd_num = zd_num;
		this.name = name;
		this.zd_pwd = zd_pwd;
		this.age = age;
		this.gender = gender;
		this.tel = tel;
		this.dept_id = dept_id;
		this.dept = dept;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getZd_num() {
		return zd_num;
	}

	public void setZd_num(String zd_num) {
		this.zd_num = zd_num;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getZd_pwd() {
		return zd_pwd;
	}

	public void setZd_pwd(String zd_pwd) {
		this.zd_pwd = zd_pwd;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getDept_id() {
		return dept_id;
	}

	public void setDept_id(String dept_id) {
		this.dept_id = dept_id;
	}

	public Dept getDept() {
		return dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}
}
